.couponSelectH5 {
  max-height: 1615px !important;
}

.couponSelect {
  .layout-body,
  .at-float-layout__container,
  .layout-body__content {
    padding: 0 !important;
    max-height: 1115px !important;
    min-height: 0 !important;

    border-radius: 24px 24px 0px 0px;
  }

  .btnBox {
    font-size: 0;

    width: 100%;
    height: 158px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);

    display: flex;
    justify-content: center;
    align-items: center;

    .btn {
      width: 682px;
      height: 92px;
      border-radius: 45px;

      color: #ffffff;
      font-size: 28px;
      font-weight: bold;
      line-height: 91px;
    }
  }

  .coupon-select .header {
    width: 100%;
    position: relative;

    .title {
      margin-top: 40px;
      margin-left: 24px;

      height: 50px;
      font-size: 36px;
      font-weight: bold;
      color: rgba(0, 0, 0, 0.85);
      line-height: 50px;
    }

    .close {
      position: absolute;
      top: 0;
      right: 25px;

      width: 24px;
      height: 24px;
    }

    .coupon-tab {
      margin: 30px 25px 16px 24px;
      width: 701px;
      height: 64px;
      border-radius: 41px;

      display: flex;
      flex-direction: row;
      align-items: center;

      .item {
        flex: 1;
        height: 56px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 40px;
        background: none;
        color: #ffffff;
        .top {
          font-size: 28px;
          font-weight: 400;
        }
        &.active {
          background: #ffffff;
          border: 4px solid #6d86c4;
          .top {
            font-weight: bold;
          }
        }
      }
    }

    .coupon-select-notice {
      margin-left: 24px;
      margin-bottom: 30px;
      display: flex;

      .note {
        height: 33px;
        font-size: 24px;
        font-weight: 400;
        color: rgba(0, 0, 0, 0.85);
        line-height: 33px;
      }

      .price {
        margin-left: 15px;
        height: 33px;
        font-size: 24px;
        font-weight: 400;
        line-height: 33px;
      }
    }
  }

  .coupon-select .coupon-list {
    width: 100%;
    background: #f2f2f3;
    overflow: scroll;
  }

  .coupon-select .coupon-item-wrap {
    display: flex;
    flex-direction: column;

    .unavailable-message {
      width: 702px;
      height: 64px;
      background: #f8f9fc;

      display: flex;
      align-items: center;
      margin-left: 24px;

      .pre {
        flex-shrink: 0;

        height: 28px;
        font-size: 20px;
        font-weight: 400;
        color: #ef5721;
        line-height: 28px;

        margin-left: 24px;
      }

      .detail {
        width: 518px;
        overflow: hidden;
        display: inline-block;
        word-break: keep-all;
        text-overflow: ellipsis;
        white-space: nowrap;

        height: 28px;
        font-size: 20px;
        font-weight: 400;
        color: #666666;
        line-height: 28px;
      }
    }
  }

  .coupon-select .coupon-item {
    width: 702px;
    height: 166px;
    flex-shrink: 0;

    margin: 20px 24px 0 24px;

    background: #fff;

    display: flex;

    &.available {
      .left {
        .coupon-discount {
          color: #999999;
        }
      }

      .middle {
        .info {
          color: #333333;
        }

        .time {
          color: #999999;
        }
      }
    }

    .left {
      width: 190px;
      height: 166px;
      flex-shrink: 0;

      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      .coupon-price {
        font-size: 51px;
        font-weight: bold;
        color: #dadada;
        letter-spacing: -2px;

        .unit {
          font-size: 40px;
          margin-right: 6px;
        }

        &.off {
          .unit {
            height: 73px;
            font-size: 51px;
          }

          .price {
            width: 30px;
            height: 42px;
            font-size: 30px;
            font-weight: bold;
            color: #dadada;
            line-height: 42px;
          }
        }
      }

      .coupon-discount {
        height: 33px;
        font-size: 24px;
        color: #dadada;
        line-height: 33px;
      }
    }

    .middle {
      flex: 1;
      height: 166px;

      display: flex;
      flex-direction: column;
      justify-content: center;

      .info {
        margin-left: 24px;

        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;

        font-size: 28px;
        font-weight: 400;
        color: #dadada;
        line-height: 40px;
      }

      .time {
        margin-top: 12px;
        margin-left: 24px;

        height: 33px;
        font-size: 24px;
        font-weight: 400;
        color: #dadada;
        line-height: 33px;
      }

      .attention {
        margin-top: 12px;
        margin-left: 24px;

        height: 33px;
        font-size: 24px;
        font-weight: 400;
        color: #ff3f3f;
        line-height: 33px;
      }
    }

    .right {
      width: 93px;
      height: 166px;

      flex-shrink: 0;

      display: flex;
      justify-content: center;
      align-items: center;

      .img {
        width: 36px;
        height: 36px;
      }
    }
  }
}
